<template>
    <div>
        <h1>App</h1>
        <!-- <TsCard title="hello Card"></TsCard> -->
        <TsHome @change="log($event)"></TsHome>
        <TsHome @change="log"></TsHome>
        <TsHome>hello home</TsHome>
    </div>
</template>
<script setup>
// 导入即注册
// import TsCard from './components/TsCard.vue'
function log(e) {
    console.log(e);
}

</script>
<!-- 
<script>
import TsCard from './components/TsCard.vue'
export default {
    components: {
        TsCard
    }
}
</script> -->
<style>
div {
    border: solid;
    padding: 10px;
}
</style>